﻿using System;
using System.Collections.Generic;

namespace Yxinmt.Entity
{
    public class SelectDirFile
    {
        public string FileName { get; set; }

        public Guid FileId { get; set; }

        public FileInfo File { get; set; }

        public List<SelectDirFile> DirList { get; set; }
        public List<SelectDirFile> FileList { get; set; }

        /// <summary>
        /// 是否打开目录
        /// </summary>
        public bool IsOpenFileDir { get; set; }

        /// <summary>
        /// 是否显示
        /// </summary>
        public bool IsVisible { get; set; }

        public string PropertyId { get; set; }

        public SelectDirFile()
        {
            IsOpenFileDir = true;
            IsVisible = true;
            PropertyId = Guid.NewGuid().ToString().Replace("-", string.Empty);
        }
    }
}
